package edu.scau.mis.pos.vo;

public class PosResultVo {
    /**
     * 返回操作结果
     */
    private String Message;

    private Object data;

    private Integer totalQuantity;

    private Double totalAmount;

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(Integer totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public void result(String msg,Object data){
        this.setMessage(msg);
        this.setData(data);
    }

}
